const path = require("path");

module.exports = {
  // 选项...
  configureWebpack: {
    resolve: {
      alias: {
        '@': path.resolve(__dirname, 'src')
      },
      extensions: ['.js', '.json', '.vue']
    }
  },
  // devServer: {
  //   proxy: 'http://127.0.0.1:8080',

  // },
  publicPath: process.env.NODE_ENV === 'production'
    ? '/1903B/liuze/wipi/'
    : '/'
};
